﻿using Customer.Domain;
using Microsoft.EntityFrameworkCore;

namespace Customer.Infrstructre
{
    public class EFCoreDBcontext : DbContext
    {
        public EFCoreDBcontext(DbContextOptions<EFCoreDBcontext> options) : base(options)
        {
        }
        public DbSet<Accounts> Accounts {  get; set; }
        public DbSet<FinanceType> FinanceTypes {  get; set; }
        public DbSet<Procurement> Procurements {  get; set; }
        public DbSet<ProcureProduct> ProcureProducts {  get; set; }
        public DbSet<Receivable> Receivables {  get; set; }
        public DbSet<Refund> Refunds {  get; set; }
        public DbSet<Sales> Saless {  get; set; }
        public DbSet<SellProduct> SellProducts {  get; set; }
        public DbSet<Client> Clients {  get; set; }
        public DbSet<CusContact> CusContacts {  get; set; }
        public DbSet<Vendor> Vendors {  get; set; }
        public DbSet<Payment> Payments {  get; set; }
        public DbSet<ProcurementStorage> ProcurementStorage {  get; set; }
    }
}
